1. Explain what is meant by a logic error? 2. Identify the error in the program below. ``` (x + 1 ``` 3. The program below is supposed to output the larger value of two numbers. ``` input A input B if A > B output B else output A endif ``` - A: name the type of error in this program - B: update line three in order to make the program run correctly